package com.googlecode.dgwt.client.dojo.base;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * @author      Wellington Tadeu dos Santos
 * @since       DGWT v0.01
 */
public interface BrowserSensitive {

    
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Documented
    public @interface ReplaceWith {
        BrowserSensitive.WhenUserAgent[] value(); 
    }

    
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Documented
    public @interface WhenUserAgent {
        String match();
        Class<?> type(); 
    }

}
